//
//  MonitorController.h
//  Stock
//
//  Created by blacksun on 11-7-6.
//  Copyright 2011年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "StockMonitor.h"
#import "StockMonitorService.h"
#import "ItemListController.h"
#import "StockContext.h"

#define kStockMonitorTitleTag           432
#define kStockMonitorSHTag              678
#define kStockMonitorSZTag              973
#define kStockMonitorHS300Tag           556

@interface MonitorController : UIViewController<UITableViewDataSource,UITableViewDelegate,ServiceDelegate> {
    UITableView *table1;
    UITableView *table2;
    NSArray *table1Data;
    NSArray *table2Data;
    StockMonitorService *monitorService;
    StockMonitor *stockMonitor;
    UILabel *updateTimeLabel;
    UIView *container;
}
@property(nonatomic, retain) IBOutlet UITableView *table1;
@property(nonatomic, retain) IBOutlet UITableView *table2;
@property(nonatomic, retain) IBOutlet UILabel *updateTimeLabel;
@property(nonatomic, retain) IBOutlet UIView *container;
@property(nonatomic, retain) NSArray *table1Data;
@property(nonatomic, retain) NSArray *table2Data;
@property(nonatomic, retain) StockMonitorService *monitorService;
@property(nonatomic, retain) StockMonitor *stockMonitor;
@end

